public class GameStat {

	private double buyIn;
	private int place;
	private double earning;
	private double profit;

	public void setBuyIn(double bi) {
		buyIn = bi;
	}

	public void setPlace(int p) {
		place = p;
	}

	public void setEarning(double e) {
		earning = e;
	}

	public double getBuyIn() {
		return buyIn;
	}

	public int getPlace() {
		return place;
	}

	public double getEarning() {
		return earning;
	}

	public double getProfit() {
		profit = earning - buyIn;
		return profit;
	}

}
